using System;
using System.Collections.Generic;
using System.Text;
using System.Security.Cryptography;

namespace CardSystemUtils
{
    public class Encoder
    {
        public static byte[] EncryptSHA1(string strInput)
        {
            SHA1 sha1 = SHA1Managed.Create();
            byte[] input = Encoding.Default.GetBytes(strInput);
            byte[] output = sha1.ComputeHash(input);
            return output;
        }
    }
}
